package com.itheima.charstream1;

import java.io.FileWriter;
import java.io.IOException;

public class CharStreamDemo5 {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("CharStream\\a.txt");

        fw.write("黑马程序员");
//        fw.flush();
        fw.write("666");
//        fw.flush();

        fw.close();

        fw.write("aaa");
    }
}
